<template>
  <el-card class="box-card-component" style="margin-left:8px;">
    <div slot="header" class="box-card-header">
      <img src="./back.png">
    </div>
    <div style="position:relative;height:220px">
      <Imagechange class="panThumb" />
      <Textchange class-name="mallki-text" text="JOIN US OR ADVICE？" />
      <div style="padding-top:35px;" class="progress-item">
        <Fontchange />
      </div>

    </div>
  </el-card>
</template>

<script>
import Imagechange from './imagechange.vue'
import Textchange from './textchange.vue'
import Fontchange from './fontchange.vue'
export default {
  components: { Imagechange, Textchange,Fontchange },
  data(){
  return{
    
  }
  }
}
</script>

<style lang="scss" >
.box-card-component{
  .el-card__header {
    padding: 0px!important;
  }
}
</style>
<style lang="scss" scoped>
.box-card-component {
  .box-card-header {
    position: relative;
    height: 220px;
    img {
      width: 100%;
      height: 100%;
      transition: all 0.2s linear;
      &:hover {
        transform: scale(1.1, 1.1);
        filter: contrast(130%);
      }
    }
  }
  .mallki-text {
    position: absolute;
    top: 0px;
    right: 0px;
    font-size: 20px;
    font-weight: bold;
  }
  .panThumb {
    z-index: 100;
    height: 70px!important;
    width: 70px!important;
    position: absolute!important;
    top: -45px;
    left: 0px;
    border: 5px solid #ffffff;
    background-color: #fff;
    margin: auto;
    box-shadow: none!important;
    ::v-deep .pan-info {
      box-shadow: none!important;
    }
  }

  @media only screen and (max-width: 1510px){
    .mallki-text{
      display: none;
    }
  }
}
</style>
